<?php
    $cat_id     =   $_GET['cat_id'];

    include "db_connect.php";
    $cat_delete = "DELETE FROM  `category` WHERE `id` = $cat_id ";
    if (mysql_query($cat_delete))
        header ("location:../admin.php?page=cat_list");
    else {
        mysql_error();
        die("Category Delete Failed");
        }


?>